import {
  createRouter,
  createWebHistory
} from 'vue-router'

let constantRoutes = [{
    path: '',
    name: 'index',
    component: () => import('@/views/index.vue'),
  }
]
// 路由
const router = createRouter({
  history: createWebHistory(),
  routes: constantRoutes
})


// 导出
export default router